package com.gxa.modules.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.util.Date;
/** 
 * @team mackie Studio 
 * @Author kk 
 * @Date 2023-03-17 20:15:21 
 */
@Entity
@Data
@TableName("crm_announcement" )
public class CrmAnnouncement  implements Serializable {

	private static final long serialVersionUID =  3290558079940525743L;

	/**
	 * 公告id
	 */
	@Id
	@TableId(value = "announcement_id", type = IdType.AUTO)
	private Integer announcementId;

	/**
	 * 公告类型
	 */
   	@TableField("announcement_type" )
	private String announcementType;

	/**
	 * 公告内容
	 */
   	@TableField("announcement_content" )
	private String announcementContent;

	/**
	 * 公告标题
	 */
   	@TableField("announcement_title" )
	private String announcementTitle;

	/**
	 * 发布人
	 */
   	@TableField("employee_id" )
	private Integer employeeId;

	/**
	 * 发布时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
   	@TableField("announcement_time" )
	private Date announcementTime;

	/**
	 * 状态（1：回复 0：未读）
	 */
   	@TableField("announcement_status" )
	private Integer announcementStatus;

	/**
	 * 公告回复
	 */
   	@TableField("announcement_reply" )
	private String announcementReply;

	/**
	 * 附件地址
	 */
   	@TableField("appendix_url" )
	private String appendixUrl;
}
